from scipy import ndimage, misc
from matplotlib import pyplot as plt

#panda = misc.face()
panda = "sb22120555_r_1670246329_0005_2_norotate.png"
# image rotated 35 degree
panda_rotate = ndimage.rotate(panda, 150,
                              mode='mirror')
plt.imshow(panda_rotate)
plt.show()